package com.orphan.marketFront.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_order")
public class Order {

    @TableId(type = IdType.ASSIGN_UUID)
    private String orderId;
    private Integer userId;
    private float totalAmount;
    private String consignee;
    private String consigneeTel;
    private String orderAddress;
    private Date orderTime;
    private Integer payMethod;
    private Integer orderStatus;
    private Integer payStatus;
}
